home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringGetNextSegment.z / XmStringGetNextSegment
Encoding:
Text File  |  2003-11-18  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggGGGGeeeettttNNNNeeeexxxxttttSSSSeeeeggggmmmmeeeennnntttt((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmSSSSttttrrrriiiinnnnggggGGGGeeeettttNNNNeeeexxxxttttSSSSeeeeggggmmmmeeeennnntttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_G_e_t_N_e_x_t_S_e_g_m_e_n_t - A compound string function that
  10.       fetches the octets in    the next segment of a compound string
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Boolean XmStringGetNextSegment (ccccoooonnnntttteeeexxxxtttt,,,, tttteeeexxxxtttt,,,, ttttaaaagggg,,,, ddddiiiirrrreeeeccccttttiiiioooonnnn,,,, sssseeeeppppaaaarrrraaaattttoooorrrr)
  16.            _X_m_S_t_r_i_n_g_C_o_n_t_e_x_tccccoooonnnntttteeeexxxxtttt;
  17.            _c_h_a_r          **tttteeeexxxxtttt;
  18.            _X_m_S_t_r_i_n_g_C_h_a_r_S_e_t*ttttaaaagggg;
  19.            _X_m_S_t_r_i_n_g_D_i_r_e_c_t_i_o_n*ddddiiiirrrreeeeccccttttiiiioooonnnn;
  20.            _B_o_o_l_e_a_n          *sssseeeeppppaaaarrrraaaattttoooorrrr;
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.       _X_m_S_t_r_i_n_g_G_e_t_N_e_x_t_S_e_g_m_e_n_t fetches the octets in the next
  24.       segment; repeated calls fetch    sequential segments.  The
  25.       tttteeeexxxxtttt,    ttttaaaagggg, and ddddiiiirrrreeeeccccttttiiiioooonnnn of the fetched segment are returned
  26.       each time.  A    Boolean    status is returned to indicate whether
  27.       a valid segment was successfully parsed.
  28.  
  29.       ccccoooonnnntttteeeexxxxtttt
  30.            Specifies the string context structure which was
  31.            allocated by the    _X_m_S_t_r_i_n_g_I_n_i_t_C_o_n_t_e_x_t function.
  32.  
  33.       tttteeeexxxxtttt Specifies a pointer to a    null terminated    string.
  34.  
  35.       ttttaaaagggg  Specifies a pointer to the font list element tag
  36.            associated with the text.
  37.  
  38.       ddddiiiirrrreeeeccccttttiiiioooonnnn
  39.            Specifies a pointer to the direction of the text.
  40.  
  41.       sssseeeeppppaaaarrrraaaattttoooorrrr
  42.            Specifies whether the next component of the compound
  43.            string is a separator.
  44.  
  45.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  46.       Returns True if a valid segment is found.
  47.  
  48.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  49.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X) and _X_m_S_t_r_i_n_g_I_n_i_t_C_o_n_t_e_x_t(_3_X).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.